package orchestration.android.execution.commands;

import orchestration.android.RunExecutionActivity;
/**
 * An {@link AndroidOrchestrationCommand} that restarts the entire execution 
 * process, starting from the current Task (the last task that has been executed
 * @author <a href="mailto:car.ferrarini@gmail.com">Carlo Ferrarini</a>
 *
 */
public class RepeatLastCommand implements AndroidOrchestrationCommand {

	@Override
	public void execute(RunExecutionActivity rea) {
		rea.resumeExecution(true);
	}

	@Override
	public int getId() {
		return CommandFactory.REPEAT_LAST;
	}

}
